<%@ page pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="isperp" uri="/WEB-INF/tlds/isperp.tld"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<isperp:processProcesser processId="${model.processId }"></isperp:processProcesser>

<div class="header">
	<h3>报废列表</h3>
</div>
<table class=" form-table">
	<tr>
		<td class="td1">报废编号：</td>
		<td class="td2">${model.code }</td>
		<td class="td1">报废日期：</td>
		<td class="td2"><fmt:formatDate value="${model.discardDate}"
				pattern="yyyy-MM-dd" /></td>
	</tr>
	<tr>
		<td class="td1">申请人：</td>
		<td class="td2">${model.applyManName }</td>
		<td class="td1">项目：</td>
		<td class="td2"><isperp:relationLabel moduleUrl="project/project"
				idValue="${model.projectId }" displayColumn="name" id="projectId"></isperp:relationLabel>
		</td>
	</tr>
	<tr>
		<td class="td1">描述：</td>
		<td class="td2" colspan="3">${model.memo }</td>
	</tr>
	<tr>
		<td class="td1">填表人：</td>
		<td class="td2"><label>${model.creatorName }</label></td>
	</tr>
</table>
<div class="header">
	<h3>报废备件项列表</h3>
</div>
<isperp:sparepartChangeGrid relationId="${model.id }" readonly="true"
	formId="sparepartDiscardForm" id="sparepartDiscard">
</isperp:sparepartChangeGrid>


<isperp:buttonList>
	<isperp:processButtons processKey="sparepartDiscardProcess"
		viewOnly="true" processId="${model.processId }"
		businessKey="${model.id }"></isperp:processButtons>
</isperp:buttonList>

